package com.gome.ocean.service.webservice.staff;

import org.springframework.stereotype.Service;

@Service("service0004Soap")
public class Service0004SoapProxy implements com.gome.ocean.service.webservice.staff.Service0004Soap {
  private String _endpoint = null;
  private com.gome.ocean.service.webservice.staff.Service0004Soap service0004Soap = null;
  
  public Service0004SoapProxy() {
    _initService0004SoapProxy();
  }
  
  public Service0004SoapProxy(String endpoint) {
    _endpoint = endpoint;
    _initService0004SoapProxy();
  }
  
  private void _initService0004SoapProxy() {
    try {
      service0004Soap = (new com.gome.ocean.service.webservice.staff.Service0004Locator()).getService0004Soap();
      if (service0004Soap != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)service0004Soap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)service0004Soap)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (service0004Soap != null)
      ((javax.xml.rpc.Stub)service0004Soap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public com.gome.ocean.service.webservice.staff.Service0004Soap getService0004Soap() {
    if (service0004Soap == null)
      _initService0004SoapProxy();
    return service0004Soap;
  }
  
  public java.lang.String getStaffList(java.lang.String userADs) throws java.rmi.RemoteException{
    if (service0004Soap == null)
      _initService0004SoapProxy();
    return service0004Soap.getStaffList(userADs);
  }
  
  public java.lang.String batchSendSMS(java.lang.String userADs, java.lang.String content) throws java.rmi.RemoteException{
    if (service0004Soap == null)
      _initService0004SoapProxy();
    return service0004Soap.batchSendSMS(userADs, content);
  }
  
  
}